/*
 * jxSwing Project (2014)
 * 
 * by Denilson Edinaldo Pinto
 * 
 * LGPL
 * Copyright (C) 2014
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package org.jxSwing.i18n;

import java.util.Locale;

import org.jxUtils.i18n.Localizator;

/**
 * @author Denilson Edinaldo Pinto
 * @porject jxSwing
 * @package org.jxSwing.i18n
 * @date 01/03/2014 - 17:28:50
 */
public class FontMessages extends Localizator {
	
	static final String PACKAGE_NAME = FontMessages.class.getPackage().getName();
	
	private static final String CLASS_NAME = FontMessages.class.getSimpleName().replace("Messages", "");
	
	/**
	 * 
	 */
	public FontMessages() {
	
		this(Locale.getDefault());
	}
	
	/**
	 * @param locale
	 */
	public FontMessages(final Locale locale) {
	
		super(PACKAGE_NAME + ".messages." + CLASS_NAME, locale);
	}
	
	/**
	 * @return i18n message
	 */
	public String background() {
	
		return getMessage("background");
	}
	
	/**
	 * @return i18n message
	 */
	public String bold() {
	
		return getMessage("bold");
	}
	
	/**
	 * @return i18n message
	 */
	public String boldItalic() {
	
		return getMessage("boldItalic");
	}
	
	/**
	 * @return i18n message
	 */
	public String foreground() {
	
		return getMessage("foreground");
	}
	
	/**
	 * @return i18n message
	 */
	public String italic() {
	
		return getMessage("italic");
	}
	
	/**
	 * @return i18n message
	 */
	public String plain() {
	
		return getMessage("plain");
	}
}
